package com.weixin.reflection.reflectionTest;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName Creature
 * @Description 生物
 * @date 2022/2/21 10:18
 * @author: wx
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class Creature<T> implements Serializable {

    private static final long serialVersionUID = 1L;
    public char gender;
    private double weight;
    private T others;

    private String breath() {
        return "呼吸";
    }


}
